﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace fApp.Forms
{



    [DefaultEvent("Click")]
    public partial class fButton : fControl
    {



        public fButton()
        {
            InitializeComponent();

            this.MouseHover += new EventHandler(eButton_MouseHover);
            this.MouseLeave += new EventHandler(eButton_MouseLeave);
        }

        void eButton_MouseLeave(object sender, EventArgs e)
        {
            this.BackColor = Color.White;
        }

        void eButton_MouseHover(object sender, EventArgs e)
        {
            this.BackColor = Color.Silver;
        }

    }
}
